<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>

<body style="font-family:Arial, Helvetica, sans-serif">
<?php if(!$this->checkPass){?>
<form id="form1" name="form1" method="post" action="">
  Input Your Attendance Password Please
  <label for="password"></label>
  <input type="password" name="password" id="password" />
  <input type="submit" name="btn_pass" id="btn_pass" value="Check Password" />
</form>
<br />
<br />
<?php 
}
if($this->checkPass) {?>
Welcome : Admin , you are asign as Manger of <br />
<br />
  <table width="700" border="1" cellspacing="0" cellpadding="10">
    <tr>
      <th scope="col"><h1>Manager Panel</h1></th>
    </tr>
    <tr>
      <td> <a href="/roster/start-here/shop/<?php echo $this->shop; ?>" target="_blank">Regiter New Staff</a></td>
    </tr>
    <tr>
      <td><a href="/roster/setup" target="_blank">Reset Staff Password</a> <i style="font-size:12px;"><br />
        <br />
      (According Company Not Share Password Policy, you need Open the link for your staff and let them complete the reset steps privately by themselves )</i></td>
    </tr>
    <tr>
      <td><a href="/roster/shop-selection" target="_blank">Arrange Roster | Check Staff Preforemance | Check Staff Attendance</a> <i style="font-size:12px;">(All In One Link)</i></td>
    </tr>
    <tr>
      <td><a href="http://www.phonecollection.com.au/index.php/staff-login" target="_blank">Access To Online Trainning Material </a> [ manager_phonecollection / Office031788]</td>
    </tr>
    <tr>
      <td><a href="/rosteraudit/manager-list-problems/token/<?php echo base64_encode($this->idMgr);?>" target="_blank">Manager Problem List </a></td>
    </tr>
    <tr>
      <td><a href="/caaudit/cashaccount-manager-apos" target="_blank">Manager Cash Account</a> (This has been updated on 2015-02-02)</td>
    </tr>
    <tr>
      <td><a href="/rosteraudit/manager-case-control/token/<?php echo base64_encode($this->idMgr);?>" target="_blank">Manager Manage Your Case</a></td>
    </tr>
    <tr>
      <td><a href="/staff/choose-staff-upload-document" target="_blank">Update Staff File</a></td>
    </tr>
    <tr>
      <td><a target="_blank" href="/staff/submit-manager-report/mgr/<?php echo base64_encode($this->idMgr);?>/shop/<?php echo $this->shop; ?>">Write My Weekly Report</a></td>
    </tr>
    <tr>
      <td><a href="/staff/discharge-application" target="_blank" >Staff Resignation / Discharge Application</a></td>
    </tr>
    <?php /*?>
    <tr>
      <td><a href="/roster/download-unconfirmed-roster" target="_blank" >Download / Scan Unconfirmed Roster </a></td>
    </tr>
    */?>
    <tr>
    	<td><a href="/repaircenter/warranty-confirm/" target="_blank" >Approve out of warranty job </a></td>
    </tr>
    <?php 
	if($this->idMgr == 4 || $this->idMgr == 110 ){
	?> 
    <tr>
      <td><a href="/roster/online-leave-confirm-application" target="_blank">Online Approval Leaves</a></td>
    </tr> 
    <tr>
      <td><a href="/shops/shop-hour-limits" target="_blank">Manage Shop Budget</a></td>
    </tr>
    <tr>
      <td><a href="/roster/trainee-list" target="_blank">Trainees List For Simon</a></td>
    </tr>
    <tr>
      <td><a href="http://<?php echo SERVER_IP_COMM;?>/products/pop-list" target="_blank">Popular List For Simon</a> (ONLY IN HEAD OFFICE)</td>
    </tr>
    <tr>
      <td><a href="/rosteraudit/change-rate-apply" target ="_blank">Change Rate Apply</a></td>
    </tr>
    <tr>
      <td><a href="/staff/add-other-lost" target ="_blank">Add Other Deduction</a></td>
    </tr>
    <tr>
      <td><p>[New] </p><a href="/staff/re-arrange-staff" target="_blank">Rearrange Staff To Manager</a></td>
    </tr>
    <?php 
	}
	?>
    
    <tr>
      <td>&nbsp;</td>
    </tr>
  </table>
<?php }?>
</body>
</html>
